package org.jeecg.modules.golf.question.client;

import io.swagger.annotations.ApiModelProperty;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.golf.question.entity.QuestionType;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @author jiguansheng
 * @date 2020/11/10
 **/
public class QuestionTypePage extends QuestionType {


    /**主键*/
    @ApiModelProperty(value = "主键")

    private String id;

    /**父级节点*/
    @Excel(name = "父级节点", width = 15)
    @ApiModelProperty(value = "父级节点")
    private Long parentId;
    /**是否有子节点*/
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有子节点")
    private String hasChild;
    /**分类名称*/
    @ApiModelProperty(value = "分类名称")
    private String name;
}
